<?php
class registration_model extends CI_Model {

	public function __construct()
	{
		parent::__construct();
	}
	
	public function register_user($reg_data)
	{
		return $this->db->insert('user',$reg_data);
		
		/*
		$num_rows = $query->num_rows();
		if ($num_rows == 1)
			return "Successful";
		else
			return "Unsuccessful";*/
	}
}
?>
